package com.bondex.charter.config;

import com.bondex.global.spring.SpringContextHolder;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Lazy;

/**
 * 普通配置项
 *
 * @author JD
 */
@Configuration
@AutoConfigureAfter({JdbcTemplateConfig.class})
public class CommonConfig {

	//region 引用相关

	//实现对spring context的管理
	@Bean
	@Lazy(false)
	public SpringContextHolder springContextHolder() {
		return new SpringContextHolder();
	}

	//endregion

	//region 全局常量定义


	//endregion

}
